package com.itbaizhan.cxpt.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("file_upload_record")
public class FileUploadRecord {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String fileName;
    private LocalDateTime uploadTime;
    private String fileId;
    private Integer status; // 0: 上传失败, 1: 上传成功
    private Long fileSize; // 文件大小
}